package com.example.mybatisdemo.service.impl;

import com.example.mybatisdemo.mapper.UserMapper;
import com.example.mybatisdemo.model.UserModel;
import com.example.mybatisdemo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * describe:
 *
 * @author xugang
 * @date 2019/1/3 15:52
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public List<UserModel> findUserByIds(List<String> userIds) {
        return userMapper.findUserByIds(userIds);
    }
}
